<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>测试</title>
</head>
<body>
<table border="1px solid red">
    <tr>
        <th>编号</th>
        <th>姓名</th>
    </tr>
    <tr >
        <td th:text="${user.id}"></td>
        <td th:text="${user.username}"></td>
    </tr>
</table>
</body>
</html>